<link rel="stylesheet" href="../addons/jy_sendgoods/resource/css/style.css" />
<div class='fui-page creditshop-index-page'>
	<div class='fui-content navbar order-list' style="padding-bottom:0;">
	
		<div class="fui-searchbar">
			 <div ng-class="{'searchbar center':1,'searchbar-active':pagedata.searchbar ==1}">
                <input type="button" ng-click="access(pagedata.op,made_query(pagedata.params))"  value="搜索" class="searchbar-cancel searchbtn">
                <div class="search-input" ng-click="pagedata.searchbar =1">
                    <input type="search" placeholder="输入关键字" class="search" ng-model="pagedata.params.keyword">
                </div>
			</div>
		</div>

		<div ng-if="pagedata.list.length<1" class='fui-content-inner'style="padding:0;">
			<div class='content-empty'>
				<div class="fui-message fui-message-popup in">
					<div class="icon ">
						<i class="icon jinyunicon icon-information"></i>
					</div>
					<div class="content">未找到任何活动</div>
					<a class="btn btn-default btn-default block" href="javascript:;" ng-click="access_json('jy_sendgoods/index/')">去首页逛逛</a>
					<a class="btn btn-default btn-default block back">返回上一页</a>
				</div>
			</div>
			<ul class="lynn_index_list_ul row" id="container" style="background: none;"></ul>
		</div>
		<li ng-repeat="item in pagedata.list" class="lynn_index_list_li fui-list goods-list">
			<a href="javascript:;" ng-click="access_json('jy_sendgoods/detail//id='+item.id)"  class="lynn_index_list_a fui-list-media">
				<img ng-src="{{tomedia(item.image) || '../core/resource/images/nopic.jpg'}}" alt="{{item.title}}">
			</a>
			<div class="lynn_index_list_info fui-list-inner" ng-click="access_json('jy_sendgoods/detail//id='+item.id)">
				<h3>{{item.title}}</h3>
				<p>{{item.goods.title}}</p>
				<del>原价：¥{{item.goods.price}}</del>
				<div class="lynn_index_list_team">
						<span class="lynn_index_list_team_left">
							
							 ¥<em>{{item.goods.price}}</em>/{{ifelse(item.units,item.units,'件')}}
						</span>
					<a href="javascript:;" ng-click="access_json('jy_sendgoods/detail//id='+item.id)" class="lynn_index_list_team_a">{{item.statustitle}} ></a>
				</div>
			</div>
		</li>
	
</div>
</div>
<div ng-include="sys_html('_footer')"></div>
<script>
scope.pagedata.status = 1; 
scope.loading = true;  //状态标记
scope.isnodata = false;
scope.pagedata.active='getingacts';
scope.pagedata.type=1;
scope.tool.get_list('jy_sendgoods/act/main/',true);
scope.pagedata.scroll_bottom=function(){
	scope.tool.get_list('jy_sendgoods/act/main/');
}
</script>